// file.ts

import type { MockMethod } from 'vite-plugin-mock'
export default [
  {
    url: '/file/user_get_dirs_and_files',
    method: 'post',
    response: (query: unknown) => {
      console.log('file:', typeof(query))
      return {
        code: 200,
        data: {
          name: 'vben1',
        },
      }
    },
  },
] as MockMethod[]
